package com.sneakxy.cloudbase.platform.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

public class UsernameCodeToken extends UsernamePasswordToken {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2669521227690015337L;

	private String code;
	
	public UsernameCodeToken() {
		super();
	}

	public UsernameCodeToken(String username, char[] password, String code, boolean rememberMe, String host) {
		super(username, password, rememberMe, host);
		this.code = code;
	}

	public UsernameCodeToken(String username, char[] password, String code, boolean rememberMe) {
		super(username, password, rememberMe);
		this.code = code;
	}

	public UsernameCodeToken(String username, char[] password, String code, String host) {
		super(username, password, host);
		this.code = code;
	}

	public UsernameCodeToken(String username, char[] password, String code) {
		super(username, password);
		this.code = code;
	}

	public UsernameCodeToken(String username, String password, String code, boolean rememberMe, String host) {
		super(username, password, rememberMe, host);
		this.code = code;
	}

	public UsernameCodeToken(String username, String password, String code, boolean rememberMe) {
		super(username, password, rememberMe);
		this.code = code;
	}

	public UsernameCodeToken(String username, String password, String code, String host) {
		super(username, password, host);
		this.code = code;
	}

	public UsernameCodeToken(String username, String password, String code) {
		super(username, password);
		this.code = code;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

}
